<template>
    <login :name="name" :password="password" :type="type">
        <span slot="title">Login Web</span>
        <p class="input"><input type="text" v-model="name" placeholder="email"></p>
        <p class="input"><input type="text" v-model="password" placeholder="password"></p>
    </login>
</template>

<script>
    import login from '../views/login-view'
    export default {
        name: "Login",
        data(){
            return {
                  type:'login',
                  name:'',
                  password:''
            }
        },
       components:{
             login
       }
    }
</script>

<style lang="scss" scoped>


</style>